package com.xuwang.dto;

import java.sql.Date;

/**
 * @ClassName RawMaterialEarlyWarningDto
 * @Description TODO
 * @Author gongzihao
 * @Date 2021/9/18 20:01
 */
public class RawMaterialEarlyWarningDto {
    private Integer rawMaterialSupplierId; //供货商ID
    private Integer rawMaterialId;          //原材料ID
    private String rawMaterialName;          //原材料名
    private Integer rawMaterialWarranty;    //原材料保质期
    private Date productionTime;        //生产日期
    private Date expirationTime;        //过期日期

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("RawMaterialEarlyWarningDto{");
        sb.append("rawMaterialSupplierId=").append(rawMaterialSupplierId);
        sb.append(", rawMaterialId=").append(rawMaterialId);
        sb.append(", rawMaterialName=").append(rawMaterialName);
        sb.append(", rawMaterialWarranty=").append(rawMaterialWarranty);
        sb.append(", productionTime=").append(productionTime);
        sb.append(", expirationTime=").append(expirationTime);
        sb.append('}');
        return sb.toString();
    }

    public Integer getRawMaterialSupplierId() {
        return rawMaterialSupplierId;
    }

    public void setRawMaterialSupplierId(Integer rawMaterialSupplierId) {
        this.rawMaterialSupplierId = rawMaterialSupplierId;
    }

    public Integer getRawMaterialId() {
        return rawMaterialId;
    }

    public void setRawMaterialId(Integer rawMaterialId) {
        this.rawMaterialId = rawMaterialId;
    }

    public String getRawMaterialName() {
        return rawMaterialName;
    }

    public void setRawMaterialName(String rawMaterialName) {
        this.rawMaterialName = rawMaterialName;
    }

    public Integer getRawMaterialWarranty() {
        return rawMaterialWarranty;
    }

    public void setRawMaterialWarranty(Integer rawMaterialWarranty) {
        this.rawMaterialWarranty = rawMaterialWarranty;
    }

    public Date getProductionTime() {
        return productionTime;
    }

    public void setProductionTime(Date productionTime) {
        this.productionTime = productionTime;
    }

    public Date getExpirationTime() {
        return expirationTime;
    }

    public void setExpirationTime(Date expirationTime) {
        this.expirationTime = expirationTime;
    }
}

